<?php

/**
 * @package Skjb_Library
 */

/**
 * FLV Tool command line builder
 *
 * @package Skjb_Library
 */
class Skjb_Video_FlvTool
{
    /**
     * The full path to the FLVTool executable
     * 
     * @var string
     */
    protected $_path = null;
    
    /**
     * Instantiate and set the path of the FLVTool executable
     * 
     * @param string $path The full path to the FLVTool executable
     */
    public function __construct($path)
    {
        $this->_path = $path;
    }
    
    /**
     * Add the custom tags to the file
     * 
     * @param string $infile
     * @param string $outfile [optional]
     * @return string
     */
    public function addTags($infile, $outfile = null)
    {
    }
    
    /**
     * Cut the file to the given start and end points
     * 
     * @param string $infile
     * @param string $inpoint
     * @param string $outpoint
     * @param string $outfile [optional]
     * @return string
     */
    public function cut($infile, $inpoint, $outpoint, $outfile = null)
    {
    }
    
    public function debug($infile)
    {
    }
    
    public function getMetadata($infile)
    {
    }
    
    public function update($infile, $outfile = null)
    {
        return shell_exec($this->_path . ' -U ' . $infile);
    }
    
    public function compatibilityMode($on = true)
    {
    }
    
    public function keyframeMode($on = true)
    {
    }
    
    public function preserve($on = true)
    {
    }
    
    public function simulation($on = true)
    {
    }
    
    public function tagFile($file)
    {
    }
    
    public function verbose($on = true)
    {
    }
    
    public function xmlMode($on = true)
    {
    }
    
    public function setTags($tags)
    {
    }
    
    public function addTag($name, $value)
    {
    }
}